package com.sooth.system.menu.view;

import com.dream.system.annotation.View;
import com.dream.template.annotation.validate.NotExist;
import com.sooth.system.menu.table.SysMenu;
import lombok.Data;

@Data
@View(SysMenu.class)
public class SysMenuDeleted {
    private Long id;
    @NotExist(msg = "存在子菜单,不允许删除")
    private Long parentId;
}
